﻿using Caliburn.Micro;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GYMm.UI.ViewModels
{
	public class StartViewModel : Screen
	{
		
		private String _message;
		public String Message
		{
			get { return _message; }
			set
			{
				if (_message != value)
				{
					_message = value;
					NotifyOfPropertyChange(() => Message);
				}
			}
		}
		public StartViewModel()
		{
			
		}

		protected override void OnActivate()
		{
			base.OnActivate();

			Message = LocalSettings.GYMSettingsStorage.LastErrorStackTrace;
			LocalSettings.GYMSettingsStorage.LastErrorStackTrace = "";
		}
	}
}
